<div class="" ng-controller="vatInfoCtrl">
  <div class="col-lg-10 col-md-12 col-sm-12">
    <table class="table table-bordered table-hover" id="vatInfoTable">
        <thead>
          <tr>
            <th class="tableTitle" colspan="9">增值税发票</th>
          </tr>
          <tr>
            <th colspan="4">发票号码：<span>{{vat.vatNumber}}</span></th>
            <th colspan="5">开票日期：<span>{{vat.vatDate}}</span></th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td style="width:16px;" rowspan="4">购买方</td>
            <td>名称：</td>
            <td colspan="8">{{vat.inCompany.companyName}}</td>
          </tr>
          <tr>
            <td>纳税人识别号：</td>
            <td colspan="8">{{vat.inCompany.companyNumber}}</td>
          </tr>
          <tr>
            <td>地址、电话：</td>
            <td colspan="8">{{vat.inCompany.companyAddress}}&nbsp;&nbsp;{{vat.inCompany.companyPhone}}</td>
          </tr>
          <tr>
            <td>开户行及账号</td>
            <td colspan="8">{{vat.inCompany.companyAccount}}</td>
          </tr>
          <tr>
            <td colspan="2">货物或应税劳务、服务名称</td>
            <td>规格型号</td>
            <td>单位</td>
            <td>数量</td>
            <td>单价</td>
            <td>金额</td>
            <td>税率</td>
            <td>税额</td>
          </tr>
          <tr ng-repeat="list in lists" class="listGoods">
            <td  colspan="2">{{list.commodityName}}</td>
            <td>{{list.commodityType}}</td>
            <td >{{list.unit}}</td>
            <td>{{list.commodityAmount}}</td>
            <td>{{list.price}}</td>
            <td>{{list.price*list.commodityAmount}}</td>
            <td>{{list.taxRate}}</td>
            <td>{{list.allPrice}}</td>
          </tr>
          <tr>
            <td colspan="2">
              合计
            </td>
            <td></td><td></td><td></td><td></td>
            <td>
              {{vat.price}}
            </td>
            <td></td>
            <td>
              {{vat.vatMoney}}
            </td>
          </tr>
          <tr>
            <td colspan="2">价税合计</td>
            <td colspan="7">{{vat.allPrice}}</td>
          </tr>
          <tr>
            <td rowspan="4">销售方</td>
            <td>名称：</td>
            <td colspan="4">{{vat.outCompany.companyName}}</td>
            <td rowspan="4">备注</td>
            <td rowspan="4" colspan="2">
              {{vat.remarks}}
            </td>
          </tr>
          <tr>
            <td>纳税人识别号：</td>
            <td colspan="4">{{vat.outCompany.companyNumber}}</td>
          </tr>
          <tr>
            <td>地址、电话：</td>
            <td colspan="4">{{vat.outCompany.companyAddress}}&nbsp;&nbsp;{{vat.outCompany.companyPhone}}</td>
          </tr>
          <tr>
            <td>开户行及账号</td>
            <td colspan="4">{{vat.outCompany.companyAccount}}</td>
          </tr>

        </tbody>
        <tfoot style="background-color:#f6f6f6;">
          <tr>
            <td colspan="2">收款人：<span>{{vat.receiverUser}}</span></td>
            <td colspan="3">复核：<span>{{vat.checkUser}}</span></td>
            <td colspan="4">开票人：<span>{{vat.vatUser}}</span></td>
          </tr>
        </tfoot>
    </table>
  </div>
  <div id="showImg">
    <div class="">
      发票图片
    </div>
    <img src="{{vat.photoAdress}}" alt="" />
  </div>
</div>
